package com.ruoyi.submit.service;

import java.util.List;
import com.ruoyi.submit.domain.TQuestionSubmit;

/**
 * 题目提交Service接口
 * 
 * @author ruoyi
 * @date 2023-10-18
 */
public interface ITQuestionSubmitService 
{
    /**
     * 查询题目提交
     * 
     * @param id 题目提交主键
     * @return 题目提交
     */
    public TQuestionSubmit selectTQuestionSubmitById(Long id);

    /**
     * 查询题目提交列表
     * 
     * @param tQuestionSubmit 题目提交
     * @return 题目提交集合
     */
    public List<TQuestionSubmit> selectTQuestionSubmitList(TQuestionSubmit tQuestionSubmit);

    /**
     * 新增题目提交
     * 
     * @param tQuestionSubmit 题目提交
     * @return 结果
     */
    public int insertTQuestionSubmit(TQuestionSubmit tQuestionSubmit);

    /**
     * 修改题目提交
     * 
     * @param tQuestionSubmit 题目提交
     * @return 结果
     */
    public int updateTQuestionSubmit(TQuestionSubmit tQuestionSubmit);

    /**
     * 批量删除题目提交
     * 
     * @param ids 需要删除的题目提交主键集合
     * @return 结果
     */
    public int deleteTQuestionSubmitByIds(Long[] ids);

    /**
     * 删除题目提交信息
     * 
     * @param id 题目提交主键
     * @return 结果
     */
    public int deleteTQuestionSubmitById(Long id);
}
